import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import orderManager from '../components/takeaway/orderManager.vue'
import index from '../components/takeaway/index.vue'
import ex from '../components/takeaway/exam.vue'
import userOrder from '../components/takeaway/userOrder.vue'
import expand from '../components/takeaway/expand.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/orderManager',
      name: 'orderManager',
      component: orderManager
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/ex',
      name: 'ex',
      component: ex
    },
    {
      path: '/userOrder',
      name: 'userOrder',
      component: userOrder
    },
    {
      path: '/expand',
      name: 'expand',
      component: expand
    },

  ]
})
